import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import actions from './actions'
import mutations from './mutations'
Vue.use(Vuex)


const state = {
    isLogin: false
}


const store = new Vuex.Store({
    modules: {
        user,
    },
    state,
    actions,
    mutations,
});

export default store